package com.czk.model.proxy.staticproxy;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/4/27 21:45
 */
public class Client {
    public static void main(String[] args) {
        // 目标对象
        TeachDaoImpl target=new TeachDaoImpl();
        // 代理对象
        TeacherDaoProxy teacherDaoProxy=new TeacherDaoProxy(target);
        teacherDaoProxy.teach();
    }
}
